package bravo;



/**
 * The test class CalculadoraTest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class CalculadoraTest extends junit.framework.TestCase {
	private bravo.Calculadora calculad1;
	
    /**
     * Default constructor for test class CalculadoraTest.
     */
    public CalculadoraTest() {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    protected void setUp() {
		calculad1 = new bravo.Calculadora();
	}

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    protected void tearDown() {
    }
    /**
     * Default constructor for test class TesteEntra1.
     */
	public void testTesteEntra11() {
		calculad1.entraUm();
		assertEquals("11", calculad1.entraUm());
	}
    /**
     * Default constructor for test class TesteLimpa.
     */
	public void testTesteLimpa() {
		assertEquals("0", calculad1.limpa());
	}
    /**
     *  TesteEntra1.
     */
	public void testTesteEntra1() {
		assertEquals("1", calculad1.entraUm());
	}
    /**
     * Default constructor for test class CalculadoraTest.
     */
	public void testTesteSoma() {
		calculad1.entraUm();
		calculad1.comandoSoma();
		calculad1.entraUm();
		calculad1.entraUm();
		assertEquals("12", calculad1.comandoSoma());
	}
}





